package com.pm.mapper.caveatConf;

import com.pm.entity.po.caveatConf.CaveatConf;
import com.pm.mapper.BaseMapper;

import java.util.List;

public interface CaveatConfMapper extends BaseMapper<CaveatConf> {
    CaveatConf getOne(Integer num);

    List<CaveatConf> getListAll(CaveatConf caveatConf);

    /**
     * 查询这个区间有多少数据
     * @param caveatConf
     * @return
     */
    Integer getSectionSum(CaveatConf caveatConf);

    /**
     * 获取表中现有最小的区间值
     * @return
     */
    Integer getMinGt();
}